<?php
/**
 * Author: chenwei
 * Date: 2018/11/16
 * Time: 17:10
 */
namespace Core;
class AutoLoad{
    static function autoload($class){
        try{
            require BASEDIR.'/'.$class.'.php';
        }catch (\Exception $e){
            echo $e->getMessage();
            exit(1);
        }
    }
}